Brief Look through of all the components
- Ang Yong Xiang Adwin

- Nov 30, 2018
- 1 min read
For the raspberry pi, I need to connect to the SAP IoT and Azure database. I just got to be able to post data to the SAP IoT feature and make SQL query on the Azure database.
According to the guide that SAP provided us, in order to push the data to the IoT service, we just have to be able to include the P12 certificate alongside with our HTTP request. Python has the module for this HTTP request, called Requests. This is the most popular module for any http requests.
However, I found that we can use a library which is meant for pkcs12 certs.
For the connection to Azure database, there is a tutorial online that will allow my raspberry pi to connect to the Azure database.
Hopefully, all these resources will work out as I won't be able to touch on the project much until Common Test is over and school reopens next year due to me going overseas.
Resources
Requests library: http://docs.python-requests.org/en/master/
Requests-pkcs12 library: https://github.com/m-click/requests_pkcs12
Azure connection: http://mdupont.com/Blog/Raspberry-Pi/azure-python3.html



Comments