You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to implement a data file in my BLE service loaded by NimbleController, using FS, but have encountered a brick wall.
When using "F:/events.dat", I am constantly getting errors back - either -2 (no entry), or -84 (corrupt).
When using "/events.dat", the device just crashes.
The same things are happening for DirOpen, using "F:/" and "/" paths respectively.
Im trying to follow whats being done in built in services and controllers, like Settings, which seem to work without issue. Also, my code works fine on Infinisim.
This issue does not occur if I transplant my code into an app like a watch face.
Am I doing something wrong here?
debug_log is a function ive defined for logging to the screen, defined much like printf.
I have worked around this by making FS accessible from NimbleController with a public getter, rather than use the object passed through my service constructor. This works perfectly, but its odd that the passed parameter does not work. Im probably missing something obvious?
Im trying to implement a data file in my BLE service loaded by NimbleController, using FS, but have encountered a brick wall.
When using "F:/events.dat", I am constantly getting errors back - either -2 (no entry), or -84 (corrupt).
When using "/events.dat", the device just crashes.
The same things are happening for DirOpen, using "F:/" and "/" paths respectively.
Im trying to follow whats being done in built in services and controllers, like Settings, which seem to work without issue. Also, my code works fine on Infinisim.
This issue does not occur if I transplant my code into an app like a watch face.
Am I doing something wrong here?
debug_log is a function ive defined for logging to the screen, defined much like printf.
The text was updated successfully, but these errors were encountered: