在app_profile_callback中接收蓝牙发送的ssid和passwd,然后调用wifi_connect函数接口,总是出现如下错误:
Hard Fault Patch (Non-secure)
Usage Fault:
Secure State: 0
Stacked:
R0 = 0x1000b935
R1 = 0x0e05659f
R2 = 0x10110d2e
R3 = 0x81000000
R12 = 0xa5a5a5a5
LR = 0xa5a5a5a5
PC = 0xa5a5a5a5
PSR = 0xa5a5a5a5
Current:
EXC_RETURN = 0xffffffbc
MSP = 0x10049120
PSP = 0x10049120
xPSR = 0xa0000006
CFSR = 0x00100000
HFSR = 0x00000000
DFSR = 0x00000000
MMFAR = 0x00000000
BFAR = 0x00000000
AFSR = 0x00000000
PriMask = 0x00000000
SVC priority: 0x00
PendSVC priority: 0xe0
Systick priority: 0xe0
和ATWC函数对比了一下,我传入的参数都是完全一样的,不知道为什么出这个错误?麻烦知道的指导一下