[FL-3106] SubGhz: better and more verbose error handling in protocols, stricter CAME validation (#2443)
* SubGhz: add error protocol * WS: add error protocol * SubGhz: error processing * SubGhz: more stringent CAME protocol restrictions * SubGhz: fix header duration CAME protocol * SubGhz: delete comments * SubGhz: sync SubGhzProtocolStatus with FuriStatus * SubGhz: update documentation and bump api_version Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -49,9 +49,9 @@ bool subghz_protocol_decoder_base_get_string(
|
||||
* @param decoder_base Pointer to a SubGhzProtocolDecoderBase instance
|
||||
* @param flipper_format Pointer to a FlipperFormat instance
|
||||
* @param preset The modulation on which the signal was received, SubGhzRadioPreset
|
||||
* @return true On success
|
||||
* @return Status Error
|
||||
*/
|
||||
bool subghz_protocol_decoder_base_serialize(
|
||||
SubGhzProtocolStatus subghz_protocol_decoder_base_serialize(
|
||||
SubGhzProtocolDecoderBase* decoder_base,
|
||||
FlipperFormat* flipper_format,
|
||||
SubGhzRadioPreset* preset);
|
||||
@@ -60,9 +60,9 @@ bool subghz_protocol_decoder_base_serialize(
|
||||
* Deserialize data SubGhzProtocolDecoderBase.
|
||||
* @param decoder_base Pointer to a SubGhzProtocolDecoderBase instance
|
||||
* @param flipper_format Pointer to a FlipperFormat instance
|
||||
* @return true On success
|
||||
* @return Status Error
|
||||
*/
|
||||
bool subghz_protocol_decoder_base_deserialize(
|
||||
SubGhzProtocolStatus subghz_protocol_decoder_base_deserialize(
|
||||
SubGhzProtocolDecoderBase* decoder_base,
|
||||
FlipperFormat* flipper_format);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user