Currently using the SimpleLink CC13x0 SDK (4.20.02.07) and I am following along the 15.4 add sensor training to add additional data to the sensor. Part of the training requires you to add the portion of the code below to the file "sensor.c". The problem arises when I try to build i get build errors due to some of the functions not existing in in the project. For example the function Jdllc_getProvState() should be in the "jdllc.c" but the function is not there. I then compared the same "jdllc.c" in the sensor example of the SimpleLink CC13xx CC26xx SDK (6.40.00.13) and the project has not issues building with the addition of code below. How can I correct this problem?
case Smsgs_cmdIds_DeviceTypeReq: /* Make sure the message is the correct size */ if(pDataInd->msdu.len == SMSGS_DEVICE_TYPE_REQUEST_MSG_LEN) { /* Only send data if sensor is in the network */ if ((Jdllc_getProvState() == Jdllc_states_joined) || (Jdllc_getProvState() == Jdllc_states_rejoined)) { Sensor_sendDeviceTypeResponse(); } } break; case Smsgs_cmdIds_genericReq: if(pDataInd->msdu.len == SMSGS_GENERIC_REQUEST_MSG_LEN) { /* send the response message directly */ cmdBytes[0] = (uint8_t) Smsgs_cmdIds_genericRsp; cmdBytes[1] = Ssf_genericCMD(); Sensor_sendMsg(Smsgs_cmdIds_genericRsp, &pDataInd->srcAddr, true, SMSGS_GENERIC_RESPONSE_MSG_LEN, cmdBytes); } break;