Hello,
I am using CC1352R- REV E boards, SDK 3.20.
I followed this link - http://processors.wiki.ti.com/index.php/Adding_New_Sensor_Support_To_Sub1GHz_Sensor_To_Cloud_Linux_Gateway to add a new Sensor Support.
Setup 1 - 15.4 Collector and Sensor
I tested it with 15.4 Collector and Sensor (basic - i.e NON_OAD) and it worked as expected. I checked it by sending random data from the Sensor and was able to see that in the newly added Generic variable.
Setup 2 - 15.4 Collector and Sensor_OAD
I followed all the steps as described in the link in Sensor_oad as well but after building it I am getting the following Linking error -
So to figure out where I went wrong I started again with a fresh project and decided to Clean-Build after every step.
On the 2nd step(from the link) which says -
"Define the command ID values for Smsgs_cmdIds_genericReq
and Smsgs_cmdIds_genericRsp
. These values are 12 and 13 so they do not conflict with other commands defined in the Sensor To Cloud Application."
As described I added the new command ID values after Commission enums. Like this -
/*! SM Commissioning start command sent from collector to the sensor */
Smgs_cmdIds_CommissionStart = 14,
/*! SM Commissioning message sent bi-directionally between the collector and sensor */
Smgs_cmdIds_CommissionMsg = 15,
/* Generic message*/
Smsgs_cmdIds_genericReq = 16,
/*Generic message response*/
Smsgs_cmdIds_genericRsp = 17 (just to be sure I also added a comma after 17 but it still gave the same error)