Why isn't this device exposed via device_get_binding()? #28952
Answered
by
endian-benjamin
endian-benjamin
asked this question in
Q&A
-
which for some reason doesn't lead to a device struct that is findable by neither the device shell nor |
Beta Was this translation helpful? Give feedback.
Answered by
endian-benjamin
Oct 6, 2020
Replies: 1 comment
-
Answering my own question here: device_get_binding only returns properly inited devices. The way it checks if it's inited is by checking if it has an API. Thus, devices without APIs doesn't get reported. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mbolivar-nordic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Answering my own question here:
device_get_binding only returns properly inited devices. The way it checks if it's inited is by checking if it has an API. Thus, devices without APIs doesn't get reported.