-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Arch: armIssues related to ARM (32-bit) architectureIssues related to ARM (32-bit) architectureArea: DriversDrivers issuesDrivers issuesOS: OtherIssues related to other OS (not Linux, Mac or Win)Issues related to other OS (not Linux, Mac or Win)Type: BugSomething isn't workingSomething isn't working
Description
Description / Steps to reproduce the issue
The print code in the RN2XX3 driver prints the given sync word as a hex value with padding out a width of 16 characters using zeros. This padding is invalid and causes an EINVAL error to be returned when a value that uses less than four bytes is used (such as 0x43). When changing this print code to "%llX", the command works. The issue wasn't noticed because it was tested using a value of 0xdeadbeef, which left no room for padding.
Page 50 of this document details valid arguments for the radio set sync command.
On which OS does this issue occur?
[OS: Other]
What is the version of your OS?
N/A
NuttX Version
master
Issue Architecture
[Arch: arm]
Issue Area
[Area: Drivers]
Host information
Tested on a custom board using an STM32H7.
Verification
- I have verified before submitting the report.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Arch: armIssues related to ARM (32-bit) architectureIssues related to ARM (32-bit) architectureArea: DriversDrivers issuesDrivers issuesOS: OtherIssues related to other OS (not Linux, Mac or Win)Issues related to other OS (not Linux, Mac or Win)Type: BugSomething isn't workingSomething isn't working