Changeset 364 for asp3_tinet_ecnl_rx/trunk/ntshell/echonet/echonet.c
- Timestamp:
- Feb 1, 2019, 9:57:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
asp3_tinet_ecnl_rx/trunk/ntshell/echonet/echonet.c
r337 r364 56 56 57 57 /* 58 * インスタンスリスト通知の送信 59 */ 60 ER ecn_ntf_inl() 61 { 62 return _ecn_tsk_ntf_inl(); 63 } 64 65 /* 58 66 * ECHONETオブジェクト参照 59 67 * 引数 … … 393 401 return E_PAR; 394 402 395 a_ret = trcv_dtq(ecn_api_ mailboxid, (intptr_t *)&p_msg, fa_tmout);403 a_ret = trcv_dtq(ecn_api_dataqueueid, (intptr_t *)&p_msg, fa_tmout); 396 404 if (a_ret != E_OK) { 397 405 *ppk_esv = NULL; … … 425 433 a_ret = _ecn_fbs_del(a_fbs); 426 434 return a_ret; 435 } 436 437 /* 438 * 応答電文の送信元ノードを取得する 439 */ 440 ID ecn_get_enod(T_EDATA *pk_esv) 441 { 442 const EOBJCB *p_snod; 443 const EOBJINIB *p_sobj = NULL; 444 445 p_snod = _ecn_eno_fnd(((T_ECN_FST_BLK *)pk_esv)->hdr.sender.id); 446 if (p_snod != NULL) { 447 p_sobj = p_snod->profile; 448 } 449 450 if (p_sobj == NULL) 451 return EOBJ_NULL; 452 #ifdef ECHONET_CONTROLLER_EXTENTION 453 if (p_sobj->eprpcnt == 0) 454 return ecn_agent_get_eobj(p_sobj); 455 #endif 456 return 1 + (((intptr_t)p_sobj - (intptr_t)eobjinib_table) / sizeof(EOBJINIB)); 427 457 } 428 458
Note:
See TracChangeset
for help on using the changeset viewer.