Skip to content

Register DeviceActivityRecorder on all net devices#161

Open
wolfd wants to merge 1 commit into
orbbec:mainfrom
AutoPallet:gvcp-blip
Open

Register DeviceActivityRecorder on all net devices#161
wolfd wants to merge 1 commit into
orbbec:mainfrom
AutoPallet:gvcp-blip

Conversation

@wolfd
Copy link
Copy Markdown

@wolfd wolfd commented May 20, 2026

Some net devices previously had this component registered, but not all. This meant that the device I am using, Femto Mega, wasn't able to do the recovery step that uses checkDeviceActivity to figure out if it's still online.

In my logs I would see something like this:

[05/19 23:18:16.198626][warning][994036][NetDeviceEnumerator.cpp:277] 1 net device removed:
[05/19 23:18:16.198642][warning][994036][NetDeviceEnumerator.cpp:278] - Name: Femto Mega, PID: 0x0669, ...
...
[05/19 23:18:16.388417][warning][994062][ObException.cpp:25] A recoverable_exception has occurred!
 - where: DeviceBase.cpp(330)
 - msg: Device is deactivated/disconnected! DeviceComponentId:0
 - type: WRONG_API_CALL_SEQUENCE
 - status: 108
[05/19 23:18:16.440090][warning][994062][ObException.cpp:25] A recoverable_exception has occurred!
 - where: DeviceBase.cpp(330)
 - msg: Device is deactivated/disconnected! DeviceComponentId:0
 - type: WRONG_API_CALL_SEQUENCE
 - status: 108
...

This change registers DeviceActivityRecorder on all devices that list their connection type as "Ethernet", and removes the now unnecessary registrations in G330, LiDAR, and MS600.

Some net devices previously had this component registered, but not all.
This meant that the device I am using, Femto Mega, wasn't able to do the
recovery step that uses `checkDeviceActivity` to figure out if it's
still online.

In my logs I would see something like this:
```
[05/19 23:18:16.198626][warning][994036][NetDeviceEnumerator.cpp:277] 1 net device removed:
[05/19 23:18:16.198642][warning][994036][NetDeviceEnumerator.cpp:278] - Name: Femto Mega, PID: 0x0669, ...
...
[05/19 23:18:16.388417][warning][994062][ObException.cpp:25] A recoverable_exception has occurred!
 - where: DeviceBase.cpp(330)
 - msg: Device is deactivated/disconnected! DeviceComponentId:0
 - type: WRONG_API_CALL_SEQUENCE
 - status: 108
[05/19 23:18:16.440090][warning][994062][ObException.cpp:25] A recoverable_exception has occurred!
 - where: DeviceBase.cpp(330)
 - msg: Device is deactivated/disconnected! DeviceComponentId:0
 - type: WRONG_API_CALL_SEQUENCE
 - status: 108
...
```

This change registers `DeviceActivityRecorder` on all devices that list
their connection type as "Ethernet", and removes the now unnecessary
registrations in G330, LiDAR, and MS600.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant