mirror of
https://github.com/eclipse/upm.git
synced 2025-03-14 20:47:30 +03:00
rn2903: Fix CI issues regarding encoding and enum confusion
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
parent
21a1860ec2
commit
aeefc758ee
@ -996,7 +996,7 @@ RN2903_MAC_TX_STATUS_T rn2903_mac_tx(const rn2903_context dev,
|
||||
// if it's anything else, we failed :(
|
||||
printf("%s: unexpected response to mac tx command\n", __FUNCTION__);
|
||||
|
||||
return RN2903_JOIN_STATUS_UPM_ERROR;
|
||||
return RN2903_MAC_TX_STATUS_UPM_ERROR;
|
||||
}
|
||||
|
||||
RN2903_RESPONSE_T rn2903_radio_tx(const rn2903_context dev,
|
||||
@ -1011,14 +1011,14 @@ RN2903_RESPONSE_T rn2903_radio_tx(const rn2903_context dev,
|
||||
if (!validate_hex_str(payload))
|
||||
{
|
||||
printf("%s: payload is not a valid hex string\n", __FUNCTION__);
|
||||
return RN2903_MAC_TX_STATUS_UPM_ERROR;
|
||||
return RN2903_RESPONSE_UPM_ERROR;
|
||||
}
|
||||
|
||||
// get the mac status and ensure that we are paused
|
||||
if (rn2903_update_mac_status(dev))
|
||||
{
|
||||
printf("%s: rn2903_update_mac_status() failed\n", __FUNCTION__);
|
||||
return RN2903_MAC_TX_STATUS_UPM_ERROR;
|
||||
return RN2903_RESPONSE_UPM_ERROR;
|
||||
}
|
||||
|
||||
uint16_t status = rn2903_get_mac_status_word(dev);
|
||||
@ -1052,7 +1052,7 @@ RN2903_RESPONSE_T rn2903_radio_rx(const rn2903_context dev,
|
||||
if (rn2903_update_mac_status(dev))
|
||||
{
|
||||
printf("%s: rn2903_update_mac_status() failed\n", __FUNCTION__);
|
||||
return RN2903_MAC_TX_STATUS_UPM_ERROR;
|
||||
return RN2903_RESPONSE_UPM_ERROR;
|
||||
}
|
||||
|
||||
uint16_t status = rn2903_get_mac_status_word(dev);
|
||||
|
@ -47,7 +47,7 @@ namespace upm {
|
||||
*
|
||||
* @brief API for the Microchip RN2903 LoRa radio
|
||||
*
|
||||
* Microchip’s RN2903 Low-Power Long Range LoRa Technology
|
||||
* The Microchip RN2903 Low-Power Long Range LoRa Technology
|
||||
* Transceiver module provides an easy to use, low-power solution
|
||||
* for long range wireless data transmission. The advanced command
|
||||
* interface offers rapid time to market.
|
||||
|
Loading…
x
Reference in New Issue
Block a user