Georgii Surkov
8582670a34
[FL-2811] Fix PVS-Studio warnings ( #2142 )
...
Co-authored-by: あく <alleteam@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
2022-12-26 21:13:30 +09:00
Sergey Gavrilov
c2cb14834d
[FL-3062] Fix unit tests ( #2180 )
...
* SubGHZ unit test: fail if async_tx is not started
* Memgr unit test: fix for multithreaded enviroment
* Unit tests: fix failed_tests count
* Unit tests: remove debug code
* Double update test: increase flipper detection time
Co-authored-by: あく <alleteam@gmail.com>
2022-12-24 23:13:21 +09:00
MX
7e049d185f
Merge branch 'fz-dev' into dev
2022-12-20 16:19:43 +03:00
gornekich
4cee550cc6
[FL-2809] Rework BLE key storage ( #2154 )
...
* bt: disconnect first on profile change
* bt keys: rework bt keys
* saved struct: add payload size getter to API
* bt: rework bt with new key storage API
* bt: add keys storage operation to bt API
* hid: save bt keys on sd card
* bt: add unit tests for key storage
* bt: working profile switch
* bt: cleanup
* bt hid: change keys storage path
Co-authored-by: あく <alleteam@gmail.com>
2022-12-20 21:32:24 +09:00
MX
084cdc6ad0
Merge branch 'fz-dev' into dev
2022-12-19 16:57:00 +03:00
Nikolay Minaylov
f10e82c64d
[FL-3024] Locale settings ( #2137 )
...
* Locale settings
* Time/date format fix
* Locale: add docs, enums for HAL, cleanup.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-12-19 18:38:20 +09:00
MX
021ba9dc1a
Merge branch 'fz-dev' into dev
2022-12-16 00:16:47 +03:00
Skorpionm
b5e7bb3334
[FL-3043] SubGhz: add SMC5326, UNILARM protocol ( #2138 )
...
* SubGhz: add SMC5326 protocol
* SubGhz: add unit_test smc5326 protocol
Co-authored-by: あく <alleteam@gmail.com>
2022-12-16 05:25:43 +09:00
MX
35a4eef3fc
Merge branch 'fz-dev' into dev
2022-12-10 19:30:20 +03:00
Astra
7fb1af07b8
[FL- 3014] Untangle NFC from Unit Tests ( #2106 )
...
* Untangle NFC from Unit Tests
* nfc tests: add log error
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-12-10 22:02:34 +09:00
MX
8794aad5d0
Merge branch 'fz-dev' into dev
2022-12-08 21:41:45 +03:00
Shane Synan
5c3a5cd8f7
FuriHal, Power, UnitTests: battery charging voltage limit API ( #2063 )
2022-12-08 15:57:49 +09:00
MX
1fc67f76a2
Merge branch 'fz-dev' into dev
2022-12-08 08:58:39 +03:00
Nikolay Minaylov
2daf39018b
[FL-3001] File browser base folder ( #2091 )
...
* File browser base folder
* Format sources
* FuriHal: bump api version
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-12-07 23:17:41 +09:00
0xchocolate
e42dda7cfb
UART echo: fix race conditions causing null pointer dereference ( #2092 )
...
Co-authored-by: 0xchocolate <0xchocolate@users.noreply.github.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-12-07 20:46:50 +09:00
gornekich
9a21dae29c
[FL-3008], [FL-2734], [FL-2766], [FL-2898] NFC bug fixes ( #2098 )
...
* nfc: rework mf classic update
* nfc: rename cache folder to .cache
* nfc: fix ATQA order bytes in nfc files
* file browser: add hide dot files option
* nfc: fix iso-14443-4 uid cards emulation
* nfc: fix unit tests
Co-authored-by: あく <alleteam@gmail.com>
2022-12-07 19:52:44 +09:00
あく
c43ec414bb
FuriHal: add i2c unit tests ( #2089 )
...
* FuriHal: add i2c unit tests
* FuriHal: restructure unit tests
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
2022-12-07 19:43:40 +09:00
MX
a66f94d22e
Merge branch 'fz-dev' into dev
2022-11-30 15:27:55 +03:00
Skorpionm
2a6a3a1bf7
[FL-2955], [FL-2953] SubGhz: fix RAW "Send never ends" ( #1979 )
...
* SubGhz: fix RAW "Send never ends"
* SubGhz: delete comments
* SubGhz: RAW file parsing speed increase
* SubGhz: fix level_duration_is_wait
* SubGhz: modification furi_hal_subghz_async_tx_refill
* SubGhz: furi_hal_subghz_stop_async_rx
* SubGhz: hal unit test and better async tx yield handling
* FuriHal: proper async tx end in subghz, vibro on power off
* FuriHal: variable naming in subghz
* SubGhz,FuriHal: extreme timings in subghz hal unit tests, remove memset in async tx buffer fill routine
* FuriHal: small refinements in subghz
Co-authored-by: あく <alleteam@gmail.com>
2022-11-30 20:41:23 +09:00
MX
eec21b073b
Merge branch 'fz-dev' into dev
2022-11-29 16:11:13 +03:00
Georgii Surkov
0261dc3075
[FL-2957] Unified Info API, App Error, Data Xchange ( #1998 )
...
* Update protobuf definitions
* Add Property subsystem entry point function
* Key-based system info and power info function stubs
* Remove unneeded functions
* Working power info
* Working system info
* Replace #defines with string literals
* Remove unneeded field
* Simplify system info formatting
* Refactor output callback handling
* Handle the last info element correctly
* Optimise power info, rename methods
* Add comments
* Add power debug
* Remove unneeded definitions
* Rename some files and functions
* Update protobuf definitions
* Implement App GetError and DataExchange APIs
* Send GetErrorReply with correct command_id
* Add RPC debug app stub
* Add more scenes
* Add warning, increase stack size
* Add receive data exchange scene
* Improve data exchange
* Add notifications
* Update application requirements
* Bump format version for property-based infos
* Correctly reset error text
* RCP: sync protobuf repo to latest release tag
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-11-29 18:08:08 +09:00
MX
3d36105142
Merge branch 'fz-dev' into dev
2022-11-28 23:12:17 +03:00
Maksim Derbasov
e121e6a287
Fix for spelling ( #2051 )
...
* Fix for spelling
* Review iteration
Co-authored-by: あく <alleteam@gmail.com>
2022-11-29 01:51:51 +09:00
MX
7829428455
Merge branch 'fz-dev' into dev
2022-11-23 19:21:50 +03:00
Sergey Gavrilov
c511c67e71
Core: thread allocation shortcut ( #2007 )
...
* Core: thread alloc+set shortcut
* Apps: use thread allocation shortcut
* Mark some service threads as services
* Init BT as soon as possible
Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 21:49:17 +09:00
Skorpionm
00fcd9cfcd
[FL-2976] SubGhz: add protocol "Ansonic" ( #2000 )
...
* SubGhz: add protocol "Ansonic"
* SubGhz: fix encoder "Ansonic"
* SubGhz: add unit_test "Ansonic"
* SubGhz: fix flag
* SubGhz: protocol "Ansonic" fix timing
Co-authored-by: あく <alleteam@gmail.com>
2022-11-23 18:29:30 +09:00
MX
930b369812
Merge branch 'fz-dev' into dev
2022-11-10 21:38:03 +03:00
Astra
820afd2aec
NFC Unit tests part 1.1 ( #1927 )
...
* Mifare Classic 1/4K, 4/7b uid, NFC-A: NFC-A is not complete yet, as there are no 4b uid tests. Also, Mifare Classic tests don't cover the key cache yet.
* NFC unit tests require access to the NFC app
* Made nfc_device_save accept full path as an argument
* Move from cstrs to furi strings and fix logic
* nfc tests: fix memory leak
* nfc: add mf_classic_get_total_blocks() to API
* nfc tests: simplify nfc tests
* nfc: fix memory leak in shadow file saving
* nfc: fix set uid scene
* nfc: fix saving files
* nfc: fix preload nfc file path
* nfc: remove comments
Co-authored-by: Sergey Gavrilov <who.just.the.doctor@gmail.com>
Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-11-11 01:20:35 +09:00
MX
684fdc632f
Merge branch 'fz-dev' into dev
2022-11-10 06:57:08 +03:00
Samuel Stauffer
aa2ecbe80f
infrared: add Kaseikyo IR protocol ( #1965 )
...
* infrared: add Kaseikyo IR protocol
Add Kaseikyo IR protocol support. This protocol is also called the Panasonic protocol and is used by a number of manufacturers including Denon.
The protocol includes a vendor field and a number of fields that are vendor specific. To support the format of address+command used by flipper the vendor+genre1+genre2+id fields are encoded into the address while the data is used for the command.
There are older versions of the protocol that used a reverse bit order that are not supported.
Protocol information:
- https://github.com/Arduino-IRremote/Arduino-IRremote/blob/master/src/ir_Kaseikyo.hpp
- http://www.hifi-remote.com/johnsfine/DecodeIR.html#Kaseikyo
- https://www.denon.com/-/media/files/documentmaster/denonna/avr-x3700h_avc-x3700h_ir_code_v01_04062020.doc
* Format and add unit test to Kaseikyo IR codec.
Co-authored-by: Georgii Surkov <37121527+gsurkov@users.noreply.github.com>
2022-11-07 18:38:04 +04:00
MX
2cfb5bdfc6
Merge branch 'fz-dev' into dev
2022-10-28 18:03:31 +03:00
Sergey Gavrilov
3434305630
[FL-2937] Remove resources from API to prevent frequent API version increase ( #1935 )
...
* Remove all icons from API
* Music player: icons
* Signal generator: icons
* Bt hid: icons
* Weather station: icons
* Picopass: icons
* File browser test: icons
* Example images: documentation
* Remove global assets header
* Fix picopass
Co-authored-by: あく <alleteam@gmail.com>
2022-10-28 23:08:50 +09:00
MX
c6945313f6
Merge branch 'fz-dev' into dev
2022-10-22 22:12:49 +03:00
Max Lapan
d8fbaba7a0
Move Oregon2 to Weather Station FAP ( #1910 )
...
* Init copy of oregon2 to weather station app
* WS decoder
* Reuse decoded data
* Delete old protocol
* Delete oregon2 unit test
* Decrement count of random test
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-23 00:50:26 +09:00
Skorpionm
9a9abd59e9
[FL-2904, FL-2900, FL-2890] WS: add app WeatherStation ( #1833 )
...
* WeatherStation: start
* SubGhz: rename protocol magellen -> magellan
* WeatherStation: err Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* WeatherStation: fix Unresolved symbols: {'subghz_protocol_decoder_base_get_string'}
* Subghz: add set protocol_items
* WeatherStation: adding your protocols
* WS: add Infactory protocol
* WS: add history
* WS: add setting
* WS: add lock
* WS: add hopper frequency
* WS: fix history
* WS fix string_t -> FuriString*
* WS: add images
* WS: history record update when receiving data from the sensor again
* WS: add receiver info, delete extra code
* WS: add protocol ThermoPRO_TX4
* [FL-2900] SubGhz: Move icons in Sub-GHz
* WS: add Notification
* [FL-2890] SubGhz: Rename *_user files in resources to _user.example
* WS: add about scene
* WS: removing redundant code
* WS: add protocol Nexus-TH
* WS: add protocol GT_WT03
* WS: fix notification and rename "Weather Station" -> "Read Weather Station"
* SubGhz: partial unit tests fix
* SubGhz: fix unit_test
* SubGhz: remove dead code
* SubGhz: rename SubGhzPresetDefinition into SubGhzRadioPreset, cleanup subghz types.
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-20 02:27:26 +09:00
Aleksandr Kutuzov
f33ea3ebe0
SubGhz: partial unit tests fix
2022-10-18 19:54:40 +03:00
MX
84d12da45a
add app WeatherStation
...
OFW PR 1833 by Skorpionm
2022-10-18 19:51:44 +03:00
MX
4f7ca617cc
Merge branch 'fz-dev' into dev
2022-10-17 21:20:28 +03:00
gornekich
dfbe21e720
NFC fixes part 3 ( #1885 )
...
* nfc: fix read next key
* nfc: verify new line ending in user dictionary file
* nfc: fix cache save
* nfc: add unit test for dict load
* nfc: fix total key count in dictionary
Co-authored-by: あく <alleteam@gmail.com>
2022-10-18 02:10:41 +09:00
MX
4b8221d813
add new icon for uart echo
...
icon by @Svaarich
2022-10-09 23:32:04 +03:00
MX
409d2e5f05
replace usb mouse with new plugin (see readme and changelog)
2022-10-09 04:37:14 +03:00
MX
b0c9af9c06
Merge branch 'fz-dev' into dev
2022-10-08 23:11:16 +03:00
Sergey Gavrilov
31c0346adc
[FL-976] Removing lambdas ( #1849 )
...
* Removing lambdas...
* Wake the fk up, Gordon! We have a citadel to burn!
* Here comes the Nihilanth
* Lambda documentation
Co-authored-by: あく <alleteam@gmail.com>
2022-10-09 02:38:29 +09:00
MX
bdd052937b
Merge branch 'fz-dev' into dev
2022-10-07 17:24:20 +03:00
Sergey Gavrilov
4000f0cac5
[FL-2870] Printf function attributes ( #1841 )
...
* Furi strings: printf attribute
* Logs: printf attribute
* Plugins: adapt
* Plugins: accommodate
* Unit tests: accommodate
Co-authored-by: あく <alleteam@gmail.com>
2022-10-07 22:35:15 +09:00
Sergey Gavrilov
38a82a1907
[FL-2839] Furi stream buffer ( #1834 )
...
* Core: stream buffer
* stream buffer: API and usage
* stream buffer: documentation
* stream buffer: more documentation
* Furi: fix spelling
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-07 21:27:11 +09:00
Georgii Surkov
61189c3c82
[FL-2847] FFF trailing space fix ( #1811 )
...
* Improve whitespace handlilng in FFF
* Add tests for odd fff user input
* Adjust formatting
Co-authored-by: あく <alleteam@gmail.com>
2022-10-06 23:18:20 +09:00
MX
0796263e81
Merge branch 'fz-dev' into dev
2022-10-05 19:27:46 +03:00
Sergey Gavrilov
4bf29827f8
M*LIB: non-inlined strings, FuriString primitive ( #1795 )
...
* Quicksave 1
* Header stage complete
* Source stage complete
* Lint & merge fixes
* Includes
* Documentation step 1
* FBT: output free size considering BT STACK
* Documentation step 2
* py lint
* Fix music player plugin
* unit test stage 1: string allocator, mem, getters, setters, appends, compare, search.
* unit test: string equality
* unit test: string replace
* unit test: string start_with, end_with
* unit test: string trim
* unit test: utf-8
* Rename
* Revert fw_size changes
* Simplify CLI backspace handling
* Simplify CLI character insert
* Merge fixes
* Furi: correct filenaming and spelling
* Bt: remove furi string include
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-10-06 00:15:23 +09:00
MX
b452b6fd32
FFF trailing space fix
...
OFW PR 1811 by gsurkov
2022-10-04 00:45:09 +03:00
MX
87a14b96e1
Merge branch 'fz-dev' into dev
2022-10-02 04:05:07 +03:00
あく
0f9ea925d3
UnitTests: fix thread join test ( #1808 )
2022-09-30 22:03:57 +09:00
MX
62e56e2618
rename apps to make it look a bit better in Apps tab in archive app
...
now old assets are removed so we can avoid duplicates
2022-09-29 08:20:00 +03:00
MX
e8bb45496d
Merge branch 'fz-dev' into dev
2022-09-22 21:45:26 +03:00
Andrea Sacchi
3846852f2b
NFC Fix Mifare Classic ( #1769 )
...
* Fix Mifare Classic key str to int conversion: Wrong cast lead to unexpected behavior converting key from str to int.
* Nfc: fix type cast in mf_classic_dict and add basic unit tests
Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
2022-09-23 02:35:28 +09:00
MX
111656d2c1
Merge branch 'fz-dev' into dev
2022-09-19 18:50:20 +03:00
Max Lapan
d003db0404
SubGhz: Oregon v2.1 decoder ( #1678 )
...
* Oregon v2.1 decoder
* Refactor FSM to switch
* Refactor headers
* Format strings
* Unit tests of oregon2
* Cleanups
* Add oregon2 raw data to random_test_raw.sub
* Adjust count of packets detected on random test
* Format sources
Co-authored-by: あく <alleteam@gmail.com>
2022-09-19 23:24:24 +09:00
MX
9c95562fad
enable uart echo and usb mouse apps
2022-09-15 08:17:58 +03:00
SG
b9a766d909
[FL-2627] Flipper applications: SDK, build and debug system ( #1387 )
...
* Added support for running applications from SD card (FAPs - Flipper Application Packages)
* Added plugin_dist target for fbt to build FAPs
* All apps of type FlipperAppType.EXTERNAL and FlipperAppType.PLUGIN are built as FAPs by default
* Updated VSCode configuration for new fbt features - re-deploy stock configuration to use them
* Added debugging support for FAPs with fbt debug & VSCode
* Added public firmware API with automated versioning
Co-authored-by: hedger <hedger@users.noreply.github.com>
Co-authored-by: SG <who.just.the.doctor@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2022-09-15 02:21:03 +09:00
SG
873e1f114b
[FL-2627] Flipper applications: SDK, build and debug system ( #1387 )
2022-09-15 01:11:38 +09:00