Project

General

Profile

Actions

Bug #12

closed
EJ V[

Can't get data from BLE sensor

Bug #12: Can't get data from BLE sensor

Added by Emmanuel Jubera [SAFT] almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Valentin LEFEBVRE [IoT.bzh]
Target version:
Start date:
05/04/2022
Due date:
% Done:

0%

Estimated time:
Hardware platform:
Solidrun (aarch64)
OS Affects Version/s:
arz-1.0
OS Fix Version/s:
arz-1.0.1
Labels:

Description

When using the iPad in order to monitor the battery, no data from the BLE sensor get displayed.

Some bluetooth related errors can be found in the system log:

bluetoothd[375]: Failed to open RFKILL control device
bluetoothd[375]: Unable to open adapter storage directory: /var/lib/bluetooth/48:EB:62:C6:26:B5

"rfkill" command in poc-service script fails the same way and the reason seems to be that file /dev/rfkill doesn't exist.

I tried to reinstall the package providing "rfkill" (util-linux) but it didn't create the missing file.

On my openSUSE machine I see there's a driver named "rfkill" which isn't present on the redpesk image, could be the root cause maybe...

VR Updated by Vincent Rubiolo almost 4 years ago Actions #1

  • Assignee changed from Vincent Rubiolo to Valentin LEFEBVRE [IoT.bzh]

EJ Updated by Emmanuel Jubera [SAFT] almost 4 years ago Actions #2

From what I read on the "rfkill" topic, it seems it can be either a module or an executable. This has to be decided when building the Linux kernel by setting variable CONFIG_RFKILL to either 'm' or 'y'. On the redpesk image I use, /proc/config.gz indicates CONFIG_RFKILL wasn't set at all so I guess setting it to 'y' and rebuilding the kernel should fix the problem.

V[ Updated by Valentin LEFEBVRE [IoT.bzh] almost 4 years ago Actions #3

  • Status changed from New to In Progress

Thank for your report and your analyses. Indeed, our new solidrun image has a missing driver. We are adding this one, and we will take the opportunity to integrate the new Solidrun patches which improve the BLE activation on your solidsense board

VR Updated by Vincent Rubiolo almost 4 years ago Actions #4

  • Status changed from In Progress to Closed

Emmanuel confirmed today the issue is gone in the latest builds and images.

Closing as a result.

SD Updated by Sebastien Douheret [IoT.bzh] over 3 years ago Actions #5

  • OS Affects Version/s arz-1.0.0 added

SD Updated by Sebastien Douheret [IoT.bzh] over 3 years ago Actions #6

  • Target version changed from arz-1.0-update to arz-1.0.1
  • OS Affects Version/s arz-1.0 added
  • OS Affects Version/s deleted (arz-1.0.0)
  • OS Fix Version/s arz-1.0.1 added
Actions

Also available in: PDF Atom