コード例 #1
0
void ICACHE_FLASH_ATTR
pando_framework_init()
{
	pando_gateway_init();

	on_subdevice_channel_recv(PANDO_CHANNEL_PORT_1, pando_subdevice_recv);
}
コード例 #2
0
/******************************************************************************
 * FunctionName : ipando_zero_device_init
 * Description  : initialize the zero device(zero device is the gateway itself).
 * Parameters   : none.
 * Returns      : none.
*******************************************************************************/
void FUNCTION_ATTRIBUTE
pando_zero_device_init(void)
{
    on_subdevice_channel_recv(PANDO_CHANNEL_PORT_0, zero_device_data_process);
}