Iot Edge container create option for bluez

samkris 116 Reputation points
2022-01-31T05:14:36.987+00:00

Hi,
Iam have developed a BLE module to act as BLE Central,based on py bluez .I learned that for module to run and enable the BLE from the host ,need to run container as following ,which I have tried and working fine.
docker run --net=host --cap-add=NET_ADMIN -t our-container****.I would like to deploy it as an Iot edge odule and test.Please help me to understand how can I add Container arguments in container create options in Azure portal.I have already set **priviliged as below
{
"HostConfig": {
"Privileged": true
}
}
Not sure how to set other arguments.
Host platform :Raspberry pi 4b Raspbian.
IOT EDGE V1.1
and IOT EDGE V1.2
Thanks,
Sam

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
598 questions
{count} votes

1 answer

Sort by: Most helpful
  1. samkris 116 Reputation points
    2022-02-08T09:38:03.64+00:00

    II have implemented BLE Scanning module and its working as expected. I have followed below 2 references,modified deployment json

    [1]: https://github.com/Azure/iot-edge-v1/issues/517 and https://github.com/ThomasPe/iot-edge-ble-protocoll-translation/blob/master/deployment.template.json.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.