Ignore:
Timestamp:
Nov 18, 2016, 5:30:16 PM (8 years ago)
Author:
coas-nagasima
Message:

ECNL 1.0.3の修正内容を盛り込み
内蔵Webアプリで機器が取得できないのを修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uKadecot/trunk/ecnl_ssp/echonet_agent.c

    r263 r265  
    434434                        memset(result, 0, sizeof(*result));
    435435                        node = &result->node;
    436                         node->enodId = ((T_ECN_FST_BLK *)esv)->hdr.sender;
     436                        node->enodId = ((T_ECN_FST_BLK *)esv)->hdr.sender.id;
    437437                        node->base.eobjId = tmax_eobjid + 1 + (((intptr_t)result - (intptr_t)agent->blockes) / sizeof(agent->blockes[0]));
    438438                        node->base.inib.enodid = 0;
     
    570570        }
    571571
    572         ret = psnd_dtq(res.ptr->hdr.target_mbxid, (intptr_t)res.ptr);
     572        ret = psnd_dtq(res.ptr->hdr.target.mbxid, (intptr_t)res.ptr);
    573573        if (ret != E_OK) {
    574574                _ecn_fbs_del(res);
     
    634634        }
    635635
    636         ret = psnd_dtq(res.ptr->hdr.target_mbxid, (intptr_t)res.ptr);
     636        ret = psnd_dtq(res.ptr->hdr.target.mbxid, (intptr_t)res.ptr);
    637637        if (ret != E_OK) {
    638638                _ecn_fbs_del(res);
Note: See TracChangeset for help on using the changeset viewer.