| 553 | NET_ERROR(item.type == NDTSentence); |
| 554 | TRANSFER(RadioSentence) |
| 555 | } |
| 556 | |
| 557 | TMError NetworkMessageContext::IdxGetId(int index, NetworkId& id) |
| 558 | { |
| 559 | if (_sending) |
| 560 | { |
| 561 | return TMGeneric; |
| 562 | } |
| 563 | TRANSFER_FORMAT |
| 564 | NET_ERROR(item.type == NDTRef); |
| 565 | const RefNetworkData& val = _msg->values[index]; |
| 566 | CHECK_ASSIGN(valTyped, val, const RefNetworkDataTyped<NetworkId>) |
| 567 | id = valTyped.GetVal(); |
| 568 | return TMOK; |
| 569 | } |
| 570 |
no outgoing calls
no test coverage detected