GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - KitSprout/kSerial: KitSprout Serial Protocol (C/C++)

BranchesTags
Open more actions menu

Latest commit

 

History

41 Commits
41 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
kserial.c
kserial.c
 
 
kserial.h
kserial.h
 
 
kserial_conf.h
kserial_conf.h
 
 
kstatus.h
kstatus.h
 
 

Repository files navigation

kSerial Packet Format

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

byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 ...   byte L + 8
  HK     HS     TP     LN      P1     P2     CK     DN     ER
name information
HK header 'K' (75)
HS header 'S' (83)
TP data type (4-bit)
LN data length (12-bit, 0~4095)
P1 parameter 1
P2 parameter 2
CK checksum
... ...
DN data
ER finish '\r' (13)
type binrary
uint8 0x0, 4'b0000
uint16  0x1, 4'b0001
uint32 0x2, 4'b0010
uint64 0x3, 4'b0011
int8 0x4, 4'b0100
int16   0x5, 4'b0101
int32 0x6, 4'b0110
int64 0x7, 4'b0111
half   0x9, 4'b1001
float 0xA, 4'b1010
double 0xB, 4'b1011
R0 0x8, 4'b1000
R1 0xC, 4'b1100
R2 0xD, 4'b1101
R3 0xE, 4'b1110
R4 0xF, 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

cserial

Resources

Readme
MIT license
Activity
Custom properties

Stars

30 stars

Watchers

3 watching

Forks

18 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.