![]() |
Dynamixel
2.9.5
RoadNarrows Robotics Dynamixel Package
|
Server/Client Dynamixel NetMsgs XML Definitions. More...
#include "rnr/rnrconfig.h"
#include "rnr/log.h"
#include "rnr/netmsgs.h"
#include "botsense/bsDynaMsgs.h"
Go to the source code of this file.
Macros | |
#define | EOFDEF {NULL, 0, NMFTypeNone, 0, } |
Functions | |
const NMMsgDef_T * | BsDynaLookupMsgDef (BsDynaMsgId_T eMsgId) |
Look up the message definition associated with the message id. More... | |
size_t | BsDynaLookupMsgMaxLen (BsDynaMsgId_T eMsgId) |
Look up the message maximum length associated with the message id. More... | |
int | BsDynaPackMsg (BsDynaMsgId_T eMsgId, void *pStruct, byte_t buf[], size_t bufSize, bool_t bTrace) |
Pack a ITV message in big-endian byte order. More... | |
int | BsDynaUnpackMsg (BsDynaMsgId_T eMsgId, byte_t buf[], size_t uMsgLen, void *pStruct, bool_t bTrace) |
Unpack a ITV message in big-endian byte order. More... | |
Variables | |
static const NMFieldDef_T | BsDynaWriteTupleFieldDefs [] |
static const NMMsgDef_T | BsDynaWriteTupleMsgDef |
static const NMFieldDef_T | BsDynaReqOpenArgsFieldDefs [] |
static const NMMsgDef_T | BsDynaReqOpenArgsMsgDef |
static const NMFieldDef_T | BsDynaReqSetBaudRateFieldDefs [] |
static const NMMsgDef_T | BsDynaReqSetBaudRateMsgDef |
static const NMFieldDef_T | BsDynaReqRead8FieldDefs [] |
static const NMMsgDef_T | BsDynaReqRead8MsgDef |
static const NMFieldDef_T | BsDynaRspRead8FieldDefs [] |
static const NMMsgDef_T | BsDynaRspRead8MsgDef |
static const NMFieldDef_T | BsDynaReqRead16FieldDefs [] |
static const NMMsgDef_T | BsDynaReqRead16MsgDef |
static const NMFieldDef_T | BsDynaRspRead16FieldDefs [] |
static const NMMsgDef_T | BsDynaRspRead16MsgDef |
static const NMFieldDef_T | BsDynaReqWrite8FieldDefs [] |
static const NMMsgDef_T | BsDynaReqWrite8MsgDef |
static const NMFieldDef_T | BsDynaRspWrite8FieldDefs [] |
static const NMMsgDef_T | BsDynaRspWrite8MsgDef |
static const NMFieldDef_T | BsDynaReqWrite16FieldDefs [] |
static const NMMsgDef_T | BsDynaReqWrite16MsgDef |
static const NMFieldDef_T | BsDynaRspWrite16FieldDefs [] |
static const NMMsgDef_T | BsDynaRspWrite16MsgDef |
static const NMFieldDef_T | BsDynaReqSyncWritetuplesFieldDef [] |
static const NMFieldDef_T | BsDynaReqSyncWriteFieldDefs [] |
static const NMMsgDef_T | BsDynaReqSyncWriteMsgDef |
static const NMFieldDef_T | BsDynaReqPingFieldDefs [] |
static const NMMsgDef_T | BsDynaReqPingMsgDef |
static const NMFieldDef_T | BsDynaRspPingFieldDefs [] |
static const NMMsgDef_T | BsDynaRspPingMsgDef |
static const NMFieldDef_T | BsDynaReqResetFieldDefs [] |
static const NMMsgDef_T | BsDynaReqResetMsgDef |
static const NMFieldDef_T | BsDynaReqSetHalfDuplexCtlFieldDefs [] |
static const NMMsgDef_T | BsDynaReqSetHalfDuplexCtlMsgDef |
const NMMsgDef_T * | BsDynaMsgDefLookupTbl [] |
size_t | BsDynaMsgMaxLenLookupTbl [] |
Server/Client Dynamixel NetMsgs XML Definitions.
Definition in file bsDynaMsgs.c.
#define EOFDEF {NULL, 0, NMFTypeNone, 0, } |
End of Field Definition entry.
Definition at line 29 of file bsDynaMsgs.c.
BsDynaReqOpenArgs Field Id Enumeration
Definition at line 100 of file bsDynaMsgs.c.
enum BsDynaReqPingFId_T |
BsDynaReqPing Field Id Enumeration
Definition at line 711 of file bsDynaMsgs.c.
enum BsDynaReqRead16FId_T |
BsDynaReqRead16 Field Id Enumeration
Definition at line 298 of file bsDynaMsgs.c.
enum BsDynaReqRead8FId_T |
BsDynaReqRead8 Field Id Enumeration
Definition at line 188 of file bsDynaMsgs.c.
enum BsDynaReqResetFId_T |
BsDynaReqReset Field Id Enumeration
Definition at line 795 of file bsDynaMsgs.c.
BsDynaReqSetBaudRate Field Id Enumeration
Definition at line 144 of file bsDynaMsgs.c.
BsDynaReqSetHalfDuplexCtl Field Id Enumeration
Definition at line 839 of file bsDynaMsgs.c.
BsDynaReqSyncWrite Field Id Enumeration
Definition at line 643 of file bsDynaMsgs.c.
BsDynaReqWrite16 Field Id Enumeration
Definition at line 518 of file bsDynaMsgs.c.
enum BsDynaReqWrite8FId_T |
BsDynaReqWrite8 Field Id Enumeration
Definition at line 408 of file bsDynaMsgs.c.
enum BsDynaRspPingFId_T |
BsDynaRspPing Field Id Enumeration
Definition at line 755 of file bsDynaMsgs.c.
enum BsDynaRspRead16FId_T |
BsDynaRspRead16 Field Id Enumeration
Definition at line 353 of file bsDynaMsgs.c.
enum BsDynaRspRead8FId_T |
BsDynaRspRead8 Field Id Enumeration
Definition at line 243 of file bsDynaMsgs.c.
BsDynaRspWrite16 Field Id Enumeration
Definition at line 584 of file bsDynaMsgs.c.
enum BsDynaRspWrite8FId_T |
BsDynaRspWrite8 Field Id Enumeration
Definition at line 474 of file bsDynaMsgs.c.
BsDynaWriteTuple Field Id Enumeration
Definition at line 45 of file bsDynaMsgs.c.
const NMMsgDef_T* BsDynaLookupMsgDef | ( | BsDynaMsgId_T | eMsgId | ) |
Look up the message definition associated with the message id.
eMsgId | Message Id. |
Definition at line 943 of file bsDynaMsgs.c.
References BsDynaMsgDefLookupTbl, and BsDynaMsgIdNumOf.
Referenced by BsDynaPackMsg(), and BsDynaUnpackMsg().
size_t BsDynaLookupMsgMaxLen | ( | BsDynaMsgId_T | eMsgId | ) |
Look up the message maximum length associated with the message id.
The maximum length is the total number of packed bytes possible for the given message. The message may be much shorter.
eMsgId | Message Id. |
Definition at line 967 of file bsDynaMsgs.c.
References BsDynaMsgIdNumOf, and BsDynaMsgMaxLenLookupTbl.
int BsDynaPackMsg | ( | BsDynaMsgId_T | eMsgId, |
void * | pStruct, | ||
byte_t | buf[], | ||
size_t | bufSize, | ||
bool_t | bTrace | ||
) |
Pack a ITV message in big-endian byte order.
eMsgId | Message Id. | |
[in] | pStruct | Pointer to the associated, populated message structure. |
[out] | buf | Output message buffer. |
bufSize | Size of output buffer. | |
bTrace | Do [not] trace packing. |
Definition at line 993 of file bsDynaMsgs.c.
References BsDynaLookupMsgDef().
int BsDynaUnpackMsg | ( | BsDynaMsgId_T | eMsgId, |
byte_t | buf[], | ||
size_t | uMsgLen, | ||
void * | pStruct, | ||
bool_t | bTrace | ||
) |
Unpack a ITV message in big-endian byte order.
eMsgId | Message Id. | |
[in] | buf | Input message buffer. |
uMsgLen | Length of message (bytes) in input buffer. | |
[out] | pStruct | Pointer to the associated message structure. |
bTrace | Do [not] trace packing. |
Definition at line 1031 of file bsDynaMsgs.c.
References BsDynaLookupMsgDef().
const NMMsgDef_T* BsDynaMsgDefLookupTbl[] |
BsDyna Message Definition Look-Up Table. Indexed by BsDynaMsgId_T enum.
Definition at line 883 of file bsDynaMsgs.c.
Referenced by BsDynaLookupMsgDef().
size_t BsDynaMsgMaxLenLookupTbl[] |
BsDyna Message Maximum Size Look-Up Table. Indexed by BsDynaMsgId_T enum.
Definition at line 907 of file bsDynaMsgs.c.
Referenced by BsDynaLookupMsgMaxLen().
|
static |
BsDynaReqOpenArgs Field Definitions
Definition at line 110 of file bsDynaMsgs.c.
|
static |
BsDynaReqOpenArgs Message Definition
Definition at line 128 of file bsDynaMsgs.c.
|
static |
BsDynaReqPing Field Definitions
Definition at line 721 of file bsDynaMsgs.c.
|
static |
BsDynaReqPing Message Definition
Definition at line 739 of file bsDynaMsgs.c.
|
static |
BsDynaReqRead16 Field Definitions
Definition at line 309 of file bsDynaMsgs.c.
|
static |
BsDynaReqRead16 Message Definition
Definition at line 337 of file bsDynaMsgs.c.
|
static |
BsDynaReqRead8 Field Definitions
Definition at line 199 of file bsDynaMsgs.c.
|
static |
BsDynaReqRead8 Message Definition
Definition at line 227 of file bsDynaMsgs.c.
|
static |
BsDynaReqReset Field Definitions
Definition at line 805 of file bsDynaMsgs.c.
|
static |
BsDynaReqReset Message Definition
Definition at line 823 of file bsDynaMsgs.c.
|
static |
BsDynaReqSetBaudRate Field Definitions
Definition at line 154 of file bsDynaMsgs.c.
|
static |
BsDynaReqSetBaudRate Message Definition
Definition at line 172 of file bsDynaMsgs.c.
|
static |
BsDynaReqSetHalfDuplexCtl Field Definitions
Definition at line 849 of file bsDynaMsgs.c.
|
static |
BsDynaReqSetHalfDuplexCtl Message Definition
Definition at line 867 of file bsDynaMsgs.c.
|
static |
BsDynaReqSyncWrite Field Definitions
Definition at line 655 of file bsDynaMsgs.c.
|
static |
BsDynaReqSyncWrite Message Definition
Definition at line 695 of file bsDynaMsgs.c.
|
static |
BsDynaReqSyncWritetuples Field Definitions
Definition at line 628 of file bsDynaMsgs.c.
|
static |
BsDynaReqWrite16 Field Definitions
Definition at line 530 of file bsDynaMsgs.c.
|
static |
BsDynaReqWrite16 Message Definition
Definition at line 568 of file bsDynaMsgs.c.
|
static |
BsDynaReqWrite8 Field Definitions
Definition at line 420 of file bsDynaMsgs.c.
|
static |
BsDynaReqWrite8 Message Definition
Definition at line 458 of file bsDynaMsgs.c.
|
static |
BsDynaRspPing Field Definitions
Definition at line 765 of file bsDynaMsgs.c.
|
static |
BsDynaRspPing Message Definition
Definition at line 779 of file bsDynaMsgs.c.
|
static |
BsDynaRspRead16 Field Definitions
Definition at line 364 of file bsDynaMsgs.c.
|
static |
BsDynaRspRead16 Message Definition
Definition at line 392 of file bsDynaMsgs.c.
|
static |
BsDynaRspRead8 Field Definitions
Definition at line 254 of file bsDynaMsgs.c.
|
static |
BsDynaRspRead8 Message Definition
Definition at line 282 of file bsDynaMsgs.c.
|
static |
BsDynaRspWrite16 Field Definitions
Definition at line 594 of file bsDynaMsgs.c.
|
static |
BsDynaRspWrite16 Message Definition
Definition at line 612 of file bsDynaMsgs.c.
|
static |
BsDynaRspWrite8 Field Definitions
Definition at line 484 of file bsDynaMsgs.c.
|
static |
BsDynaRspWrite8 Message Definition
Definition at line 502 of file bsDynaMsgs.c.
|
static |
BsDynaWriteTuple Field Definitions
Definition at line 56 of file bsDynaMsgs.c.
|
static |
BsDynaWriteTuple Message Definition
Definition at line 84 of file bsDynaMsgs.c.