test for android and iphone1

This commit is contained in:
richonguzman 2023-12-03 22:59:14 -03:00
parent c98732503f
commit cc36f5f66d
1 changed files with 5 additions and 2 deletions

View File

@ -166,8 +166,11 @@ namespace MSG_Utils {
//Serial.println(packetReceived); // only for debug
aprsPacket = APRSPacketLib::processReceivedPacket(packetReceived.substring(3));
if (aprsPacket.sender!=currentBeacon->callsign) {
//BLUETOOTH_Utils::sendPacket(packetReceived.substring(3));
BLE_Utils::sendToPhone(packetReceived.substring(3));
if (Config.bluetoothType==0) {
BLE_Utils::sendToPhone(packetReceived.substring(3));
} else {
BLUETOOTH_Utils::sendPacket(packetReceived.substring(3));
}
if (digirepeaterActive && aprsPacket.addressee!=currentBeacon->callsign) {
String digiRepeatedPacket = APRSPacketLib::generateDigiRepeatedPacket(aprsPacket, currentBeacon->callsign);