Error[e27]:Entry "HalUARTInit::?relay in module simple sensor"
why am i getting this error while building the project
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.
I don't have simple sensor on my hand. Can you show me your source code to send/receive sensor data?
IS THIS WHAT YOU ASKED...?? Sorry i cant get you sir.
void zb_HandleOsalEvent( uint16 event )
{
uint16 pData[2];
if ( event & MY_START_EVT )
{
zb_StartRequest();
}
if ( event & MY_REPORT_BATTERY_EVT )
{
pData[0] = BATTERY_REPORT;
pData[1] = myApp_ReadBattery();
zb_SendDataRequest( 0xFFFE, SENSOR_REPORT_CMD_ID, 2, pData, 0, AF_ACK_REQUEST, 0 );
osal_start_timerEx( sapi_TaskID, MY_REPORT_TEMP_EVT, myAppBatteryReportPeriod );
}
if ( event & MY_FIND_COLLECTOR_EVT )
{
// Find and bind to a collector device
zb_BindDevice( TRUE, SENSOR_REPORT_CMD_ID, (uint8 *)NULL );
}
}
void myApp_StartReporting( void )
{
osal_start_timerEx( sapi_TaskID, MY_REPORT_BATTERY_EVT, myAppBatteryReportPeriod );
HalLedSet( HAL_LED_1, HAL_LED_MODE_ON );
}