UNPKG

@robotical/ricjs

Version:

Javascript/TS library for Robotical RIC

20 lines (18 loc) 681 B
///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // RICJS // Communications Library // // Rob Dobson & Chris Greening 2020-2022 // (C) 2020-2022 // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// // RIC Protocols export const RICSERIAL_MSG_NUM_POS = 0; export const RICSERIAL_PROTOCOL_POS = 1; export const RICSERIAL_PAYLOAD_POS = 2; // const PROTOCOL_ROSSERIAL = 0x00; export const PROTOCOL_RICREST = 0x02; export const RICREST_REST_ELEM_CODE_POS = 0; export const RICREST_HEADER_PAYLOAD_POS = 1; export const RICREST_FILEBLOCK_PAYLOAD_POS = 4;