mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-29 09:07:17 -04:00
Ble tx improvements (#1546)
This commit is contained in:
parent
dceb7255b0
commit
b5c244a09b
8 changed files with 67 additions and 24 deletions
|
@ -155,11 +155,12 @@ void set_btle(uint8_t channel_number) {
|
|||
send_message(&message);
|
||||
}
|
||||
|
||||
void set_btletx(uint8_t channel_number, char* macAddress, char* advertisementData) {
|
||||
void set_btletx(uint8_t channel_number, char* macAddress, char* advertisementData, uint8_t pduType) {
|
||||
const BTLETxConfigureMessage message{
|
||||
channel_number,
|
||||
macAddress,
|
||||
advertisementData};
|
||||
advertisementData,
|
||||
pduType};
|
||||
send_message(&message);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue