radio_tool 0.2.1
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
radio_tool::h8sx Namespace Reference

Classes

class  H8SX
 
class  H8SXException
 

Enumerations

enum class  H8SXCmd : uint8_t {
  BEGIN_INQUIRY = 0x55 , DEVICE_INQUIRY = 0x20 , DEVICE_SELECT = 0x10 , CLOCK_MODE_INQUIRY = 0x21 ,
  CLOCK_MODE_SELECT = 0x11 , PROG_UNIT_INQUIRY = 0x27 , BITRATE_SELECT = 0x3F , BEGIN_PROGRAMMING = 0x40 ,
  USER_MAT_SELECT = 0x43 , PROGRAM_128B = 0x50 , USER_MAT_CHECKSUM = 0x4B
}
 

Functions

 PACK (struct dev_inq_hdr_t { uint8_t cmd=0;uint8_t size=0;uint8_t ndev=0;uint8_t nchar=0;char code[4]={0};})
 
 PACK (struct dev_sel_t { uint8_t cmd=0;uint8_t size=0;char code[4]={0};uint8_t sum=0;})
 
 PACK (struct prog_chunk_t { uint8_t cmd=static_cast< uint8_t >(H8SXCmd::PROGRAM_128B);uint32_t addr=0;uint8_t data[1024]={0};uint8_t sum=0;})
 
 PACK (struct prog_end_t { uint8_t cmd=static_cast< uint8_t >(H8SXCmd::PROGRAM_128B);uint32_t addr=0xffffffff;uint8_t sum=0xb4;})
 
 PACK (struct sum_chk_t { uint8_t cmd;uint8_t size;uint32_t chk;uint8_t sum;})
 

Detailed Description

This file is part of radio_tool. Copyright (c) 2020 v0l radio.nosp@m._too.nosp@m.l@v0l.nosp@m..io

radio_tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

radio_tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with radio_tool. If not, see https://www.gnu.org/licenses/.

Enumeration Type Documentation

◆ H8SXCmd

enum class radio_tool::h8sx::H8SXCmd : uint8_t
strong

Definition at line 53 of file h8sx.hpp.