Zephyr 내장 COBS 라이브러리
- COBS 기본개념 : https://igotit.tistory.com/6611
헤더 경로: #include <zephyr/data/cobs.h>
주요 함수: One-shot 버전
- 구조체 net_buf 입출력.
int cobs_encode(struct net_buf *src, struct net_buf *dst, uint32_t flags);
int cobs_decode(struct net_buf *src, struct net_buf *dst, uint32_t flags);
주요함수 : 스트리밍 버전
- 바이트 배열
int cobs_encoder_write(struct cobs_encoder *enc, const uint8_t *buf, size_t len);
int cobs_decoder_write(struct cobs_decoder *dec, const uint8_t *buf, size_t len);
zephyr cobs 상세 설명
Zephyr API Documentation: COBS (Consistent Overhead Byte Stuffing)
COBS encoding and decoding functions with custom delimiter support. Provides functions for COBS encoding/decoding with configurable delimiters. The implementation handles both standard zero-delimited COBS and custom delimiter variants.
docs.zephyrproject.org
연관
COBS . 바이트 시리즈 프레이밍
COBS . Consistent Overhead Byte Stuffing - 바이트 시리즈의 프레이밍 알고리듬 중의 하나 . - - 예 : 시리얼 통신 경로로 N 바이트 단위로 송신하려는 경우 COBS 인코딩하여 송신하고 이를 수신한 측에서 COBS
igotit.tistory.com
Zephyr (제퍼) . RTOS . 경량
Zephyr (제퍼)- 경량 RTOS . nRF52840 ( ARM Cortex M4F, 1MByte flash, 256kbyte ram. 64MHz )급에서도 활용 가능. - 라이센스 : 오픈소스- 관리주체 : 리눅스재단 하위 별도 프로젝트 팀. - - 제퍼운영체제는 리눅스 커
igotit.tistory.com
첫 등록 : 2026.06.16
최종 수정 :
단축 주소 : https://igotit.tistory.com/6612
'임베디드.일렉트로닉스' 카테고리의 다른 글
| G13176-010P . Hamamatsu InGaAs PD . 적외선 1550~1650nm 검출 (0) | 2026.07.20 |
|---|---|
| ADPD144RI . 광센서 . ppg . spo2 (0) | 2026.07.20 |
| WebUSB . 시험 가능 웹 (0) | 2026.05.06 |
| USB . BOS 디스크립터 . Binary Device Object Store (0) | 2026.04.24 |
| NCS VSCode . 커스텀 보드 추가하기 (0) | 2026.04.11 |
댓글