Commit Graph

54 Commits

Author SHA1 Message Date
Willy-JL
4ad6297285 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into dev --nobuild 2023-09-30 19:26:24 +01:00
MX
fc1ec55a40 Merge branch 'ofw_dev' into dev 2023-09-25 16:53:05 +03:00
あく
63d7d46bd3 FuriHal,BleGlue: prevent sleep while HCI command executed, proper bt api rpc locking. Fixes random system lockups. (#3107) 2023-09-25 09:12:12 +04:00
MX
d4cad7b8c6 add refactor things back 2023-09-11 18:39:38 +03:00
Willy-JL
2af8338f4a Move some things around to match OFW 2023-08-29 00:40:35 +02:00
ClaraCrazy
461cace084 Add missing check 2023-07-23 19:34:54 +02:00
ClaraCrazy
be99773e36 <:N1:1130620612352679958><:N2:1130620354440745162> 2023-07-23 19:28:41 +02:00
ClaraCrazy
a7151dc46b Deny BT-RPC commands when locked (Toggle) 2023-07-23 19:26:36 +02:00
MX
8bb3092002 Revert BLE gatt characteristics refactoring temporarily 2023-06-14 03:19:18 +03:00
Willy-JL
c4850ba89a Revert gatt refactor for now (breaks iOS BT HID) 2023-06-13 18:36:55 +01:00
Willy-JL
db0dc7064a Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-06-09 01:27:24 +01:00
MX
18220515b5 Merge branch 'ofw-dev' into dev 2023-06-08 14:58:46 +03:00
hedger
e3e64e5e83 [FL-3267] ble: refactored bt gatt characteristics setup (#2587)
* ble: refactored bt gatt characteristics setup
* ble: naming fixes, small optimizations
* ble: expanded bitfields; fixed pvs warnings
* ble: fixed pvs warnings for real
* ble: using FlipperGattCharacteristicDataPropsFixed for char[] props
* ble: removed flipper_gatt_characteristic_props_const_char
* ble: gatt: naming changes
* ble: gatt: fixed device_info service constant attrs sizes
* ble: gatt: copy descriptors to char instances; reworked hid chars to be callback-based; moved max size getter to callback with NULL data; added comments
* ble: gatt: removed hid_svc_report_data_callback
* ble: hid svc: better double loop idx naming
* ble: hid svc: simplified hid_svc_update_info
* ble: gatt: removed magic values; fixed type for HidSvcGattCharacteristicInfo
* ble: gatt: moved long uuids to separate files

Co-authored-by: gornekich <n.gorbadey@gmail.com>
Co-authored-by: あく <alleteam@gmail.com>
2023-06-08 18:42:02 +09:00
Willy-JL
cca787b96d Dont save setting files on load fail 2023-06-07 20:35:45 +01:00
Willy-JL
7f19e16d47 Use stock system icons instead of assets 2023-05-20 20:00:02 +01:00
Willy-JL
0657aebf52 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into xfw-dev 2023-05-14 19:46:20 +01:00
MX
849f14e480 Bad BT plugin, Submenu locked elements, API updates, etc.
Thanks to WillyJL, ClaraCrazy, and XFW contributors
2023-05-13 00:14:22 +03:00
Willy-JL
d91f70b837 Move config file migration to flipper init 2023-05-10 23:36:03 +01:00
Willy-JL
a6bc7f8abb Rework xtreme settings and assets implementation 2023-05-01 15:28:59 +01:00
Willy-JL
a5cddc076e Merge branch 'ul-dev' into xfw-dev 2023-04-23 17:48:05 +01:00
Astra
2c7eb53cac [FL-2505] Active RPC session icon (#2583)
* Active RPC session icon
* Add RpcOwner, don't show the RPC icon when the session was started from BLE
* Fix rpc_test and f18 api
* Bump API version

Co-authored-by: あく <alleteam@gmail.com>
2023-04-19 17:30:26 +09:00
Willy-JL
1609f3c500 Fix critical boot modes (dfu / recovery) 2023-04-13 02:14:03 +01:00
Willy-JL
8aed004b7b Proper BT custom name length handling 2023-04-08 00:54:02 +01:00
Willy-JL
5facf6dc89 Move setting files to sd card 2023-03-25 20:12:48 +00:00
Willy-JL
5ad65dfb78 Bad BT paring pin handling improvements 2023-03-02 21:06:12 +00:00
Willy-JL
f03b64fc7f Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into fix-bad_kb_bt-flipper_app-conflict 2023-02-28 21:24:18 +00:00
Willy-JL
fa8ed7f6e4 Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware 2023-02-28 20:34:44 +00:00
yocvito
48641ef6f6 Adds bonding toggle in badkb, allowing to remember paired devices, but MAC address cannot be modified in this state (V1) 2023-02-28 19:27:15 +01:00
あく
3efb7d4050 Updater: handle storage errors when removing files, fix folder remove routine, prevent unused services from starting (#2432)
* Updater: handle storage errors when removing files
* Updater: properly handle folder removal in post update cleanup stage. Prevent power, desktop and dolphin services from starting on update.
* Desktop, Dolphin, Power: proper handling and message for special boot mode.
* Desktop, Power: add missing TAG
* Updater: unify start skip message and fix double delete in backup worker
* Cli: unify special boot mode message
2023-02-27 00:15:26 +09:00
Willy-JL
20f9e1102f Better bt pin code detection 2023-02-25 23:24:09 +00:00
Willy-JL
62dd0aded2 Subtly show PIN in BadKB 2023-02-25 03:25:31 +00:00
Willy-JL
c627c1caf0 Merge branch 'dev' of https://github.com/ClaraCrazy/Flipper-Xtreme into badusb-ble 2023-02-11 05:20:57 +00:00
Willy-JL
efb11dfcbd Properly integrate xtreme apis and headers 2023-02-11 05:19:37 +00:00
Willy-JL
3acfe5b215 Format 2023-02-06 14:16:03 +00:00
yocvito
d6a1dc2e1f Removes storing of bt peer key in internal flash for bad usb BLE
Co-authored-by: yocvito <nicolasmorel.dp@gmail.com>
2023-02-03 22:27:26 +00:00
Willy-JL
72935579e6 Format 2023-02-03 17:46:32 +00:00
yocvito
cf89c9db89 Automatically accepts PIN verif when GapPairingNone was selected, but the remote host refused the non-auth pairing and switched to numeric comparaison ethod (pin verif yes or no) 2023-01-30 21:32:55 +01:00
yocvito
fb1218c9a5 Removes pin verif when using BT for bad-USB 2023-01-30 13:31:24 +01:00
yocvito
a6daa2a20d drop useless file and some useless line 2023-01-27 11:56:29 +01:00
yocvito
a88053964e Bluetooth timeout is now dynamic thanks to rssi analyzing 2023-01-26 22:54:15 +01:00
yocvito
a14f5446e4 Merge branch 'v40-merge' into badusb-ble 2023-01-26 00:22:28 +01:00
yocvito
df4d512f7d Adds BLE adv name & mac changing effective 2023-01-25 19:00:41 +01:00
Willy-JL
45a0a1104d Revert asset packs to OFW copium naming scheme 2023-01-24 11:44:42 +00:00
Willy-JL
abffc3152f New asset system everywhere sfw mode is supported 2023-01-20 06:43:05 +00:00
Willy-JL
da2ce47bd3 Move sfw mode to custom app 2023-01-17 19:58:27 +00:00
VerstreuteSeele
905bb23fdf Formatting & New updated IR 2023-01-14 08:44:32 +01:00
jbohack
a727eca56f added sfw_mode support for ble 2022-12-30 14:21:18 -05:00
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
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
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