Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

41 Commits

Repository files navigation

kSerial Packet Format

https://hackmd.io/@Hom-Wang/kSerialProtocol

byte 1byte 2byte 3byte 4byte 5byte 6byte 7... byte L + 8
HK HS TP LN P1 P2 CK DN ER
nameinformation
HKheader 'K' (75)
HSheader 'S' (83)
TPdata type (4-bit)
LNdata length (12-bit, 0~4095)
P1parameter 1
P2parameter 2
CKchecksum
......
DNdata
ERfinish '\r' (13)
typebinrary
uint80x0, 4'b0000
uint16 0x1, 4'b0001
uint320x2, 4'b0010
uint640x3, 4'b0011
int80x4, 4'b0100
int16 0x5, 4'b0101
int320x6, 4'b0110
int640x7, 4'b0111
half 0x9, 4'b1001
float0xA, 4'b1010
double0xB, 4'b1011
R00x8, 4'b1000
R10xC, 4'b1100
R20xD, 4'b1101
R30xE, 4'b1110
R40xF, 4'b1111

more information
http://kitsprout.logdown.com/posts/883899

Library

kSerial_Python
kSerial_Matlab
kSerialApp

Youtube DEMO Video

https://youtu.be/MjcuTlffRoM

About

KitSprout Serial Protocol (C/C++)

Topics

Resources

Stars

30 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages