subghz_protocol_blocks_get_upload_from_bit_array

Function subghz_protocol_blocks_get_upload_from_bit_array 

Source
pub unsafe extern "C" fn subghz_protocol_blocks_get_upload_from_bit_array(
    data_array: *mut u8,
    count_bit_data_array: usize,
    upload: *mut LevelDuration,
    max_size_upload: usize,
    duration_bit: u32,
    align_bit: SubGhzProtocolBlockAlignBit,
) -> usize
Expand description

Generating an upload from data.

ยงArguments

  • data_array - Pointer to a HEX array
  • count_bit_data_array - How many bits in the array are processed
  • upload - Pointer to a LevelDuration
  • max_size_upload - upload size, check not to overflow
  • duration_bit - duration 1 bit
  • align_bit - alignment of useful bits in an array