I want to be able to flexibly configure the advertised data. Now it's really difficult to play with advertisement packets. Can you give me a quick tutorial
OK, i think i understood more now. i want to change device name dynamically, how to do it? i found gapm_peer_name_ind in gapm_task.h and it has device name field but i cannot find where it is sset
Ok, so I found out now that there is a message type "GAPM_PEER_NAME:IND"" for changing the device name. However, it is not used anywhere in the SDK. So somehow it is copied straight to the memory? I will try to use that GAPM message, maybe it will work?
Hello, for some reason I cannot set the nvds field NVDS_TAG_APP_BLE_ADV_DATA, I always get an Length violation NVDS_LENGTH_OUT_OF_RANGE. Even if the length was zero
I don't understand why in file nvds.c, in function custom_nvds_get_func case NVDS_TAG_APP_BLE_ADV_DATA there is this condition: if (*lengthPtr < NVDS_LEN_APP_BLE_ADV_DATA)
但这似乎更logical to me, I think I don't understand some part: if (*lengthPtr > NVDS_LEN_APP_BLE_ADV_DATA)
OK, i think i understood more now. i want to change device name dynamically, how to do it? i found gapm_peer_name_ind in gapm_task.h and it has device name field but i cannot find where it is sset
br, Vesa
Ok, so I found out now that there is a message type "GAPM_PEER_NAME:IND"" for changing the device name. However, it is not used anywhere in the SDK. So somehow it is copied straight to the memory? I will try to use that GAPM message, maybe it will work?
Br, Vesa
Hello, for some reason I cannot set the nvds field NVDS_TAG_APP_BLE_ADV_DATA, I always get an Length violation NVDS_LENGTH_OUT_OF_RANGE. Even if the length was zero
What to do?
Br, Vesa
Hi,
I don't understand why in file nvds.c, in function custom_nvds_get_func case NVDS_TAG_APP_BLE_ADV_DATA there is this condition:
if (*lengthPtr < NVDS_LEN_APP_BLE_ADV_DATA)
但这似乎更logical to me, I think I don't understand some part:
if (*lengthPtr > NVDS_LEN_APP_BLE_ADV_DATA)
BR, Vesa
Do you now figure out the meaning of the following line ?
if (*lengthPtr < NVDS_LEN_APP_BLE_ADV_DATA)
Hi summer20100514,
Sorry, I don't remember anymore...