mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 01:27:24 -04:00
BLE Tx App / BLE Rx Filtering. (#1543)
BLE TX app creation BLE RX and TX app improvements
This commit is contained in:
parent
62307b93d7
commit
dceb7255b0
19 changed files with 1402 additions and 34 deletions
|
@ -155,6 +155,14 @@ void set_btle(uint8_t channel_number) {
|
|||
send_message(&message);
|
||||
}
|
||||
|
||||
void set_btletx(uint8_t channel_number, char* macAddress, char* advertisementData) {
|
||||
const BTLETxConfigureMessage message{
|
||||
channel_number,
|
||||
macAddress,
|
||||
advertisementData};
|
||||
send_message(&message);
|
||||
}
|
||||
|
||||
void set_nrf(const uint32_t baudrate, const uint32_t word_length, const uint32_t trigger_value, const bool trigger_word) {
|
||||
const NRFRxConfigureMessage message{
|
||||
baudrate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue