mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-24 05:34:45 -07:00
NFC: FeliCa Protocol Expose Read Block API and Allow Specifying Service (#4074)
* add one parameter to the rdbl and expose * Bump api version and format sources Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -134,6 +134,7 @@ FelicaError felica_poller_read_blocks(
|
||||
FelicaPoller* instance,
|
||||
const uint8_t block_count,
|
||||
const uint8_t* const block_numbers,
|
||||
uint16_t service_code,
|
||||
FelicaPollerReadCommandResponse** const response_ptr) {
|
||||
furi_assert(instance);
|
||||
furi_assert(block_count <= 4);
|
||||
@@ -143,7 +144,7 @@ FelicaError felica_poller_read_blocks(
|
||||
felica_poller_prepare_tx_buffer(
|
||||
instance,
|
||||
FELICA_CMD_READ_WITHOUT_ENCRYPTION,
|
||||
FELICA_SERVICE_RO_ACCESS,
|
||||
service_code,
|
||||
block_count,
|
||||
block_numbers,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user