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