You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/08/20 04:59:15 UTC

[GitHub] [incubator-nuttx] lupyuen commented on pull request #6803: fs/directory: Using file api to implement operations on directories

lupyuen commented on PR #6803:
URL: https://github.com/apache/incubator-nuttx/pull/6803#issuecomment-1221233188

   Thanks @btashton! PineDio Stack BL604 fails my LoRaWAN Network Test because it couldn't receive any LoRaWAN Packets (Join Accept Response). Sending LoRaWAN Packets is OK. I traced it to this commit: https://github.com/apache/incubator-nuttx/commit/4dbf4555ebb743a908e3016d43b5b456d7a2cf16
   
   The LoRaWAN Test calls my [LoRaWAN Library](https://github.com/lupyuen/LoRaMac-node-nuttx), which calls my [Semtech SX1262 Library](https://github.com/lupyuen/lora-sx1262/tree/lorawan), which calls the [NimBLE Porting Layer](https://github.com/lupyuen/nimble-porting-nuttx) (for multithreading functions).
   
   Since the commit https://github.com/apache/incubator-nuttx/commit/4dbf4555ebb743a908e3016d43b5b456d7a2cf16 has to do with File System, maybe something inside NimBLE Porting Layer broke.
   
   I plan to trace the calls to [`dir_open`](https://github.com/apache/incubator-nuttx/blob/master/fs/vfs/fs_dir.c#L397-L402), [`dir_ioctl`](https://github.com/apache/incubator-nuttx/blob/master/fs/vfs/fs_dir.c#L548-L560) and [`dir_allocate`](https://github.com/apache/incubator-nuttx/blob/master/fs/vfs/fs_dir.c#L566-L608) to see what changed.
   
   The weird thing about this bug: LoRaWAN works perfectly fine on PineCone BL602, only PineDio Stack BL604 is affected. (Maybe due to the different drivers and apps loaded in memory?)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org