Tool/software: Code Composer Studio
hi,
i want to disassociate the sensor from the joined network. what are the functions and changes have to do in exaple sensor and collector code
thank u
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
hi,
i want to disassociate the sensor from the joined network. what are the functions and changes have to do in exaple sensor and collector code
thank u
Hi naren,
Please refer to the Collector example UI (explained in the TI 15.4-Stack User's Guide) which demonstrates this capability along with the TI 15.4-Stack API Guide for which ApiMac_mlmeDisassociateReq is detailed.
Regards,
Ryan
hi ryan,
in collector side using defined disassociationconfigrequest function send the request to sensor. in sensor side disassociationIndcb is there any changes in example code. is there any other changes have to do
Hi naren,
As you've already observed and has been discussed, disassociation requests and indication callbacks are already employed in the collector/sensor example applications. There is nothing further required from the user unless custom functionality is to be considered.
Regards,
Ryan
hi.
in disassociation process what is NV Item identification structure and uses of itA and NVINTF_SYSID_APP .im using cc1352p nonbeacon mode
hi all,
im very beginner to cc1352
in cc1352 non beacon mode collector disassociate the sensor .1) where we have to give sensor adress in program for remove from network.
2)what is diffrence between csf_removeDevice(shortAdress) function in csf.c and cllc_removeDevice(shortAdress) in cllc.c
3)if possible explain internal function : csf_removeDevice(shortAdress)
Hi naren,
Cllc_removeDevice is the API you call inside the application to remove the NV item (CSF_NVDEVICELIST_ID using Csf_removeDeviceListItem) and update the CUI accordingly. This is done automatically inside disassocCnfCb (obtaining the extended address from the short address with Csf_getDeviceExtAdd) after calling sensorDisassocAction -> SENSOR_ACTION_DISASSOC -> Csf_sendDisassociateMsg -> Cllc_sendDisassociationRequest -> ApiMac_mlmeDisassociateReq in the collector application UI.
Regards,
Ryan