cu-ecen-aeld / final-project-DivyeshShashikant

final-project-DivyeshShashikant created by GitHub Classroom
0 stars 0 forks source link

Socket Program on Beagle Bone Black #4

Closed DivyeshShashikant closed 2 years ago

DivyeshShashikant commented 2 years ago

DoD:

Task

Blockers None identified at the moment.

DivyeshShashikant commented 2 years ago

For the sprint 3, I wrote the server code to send temperature sensor (TMP102) readings on the i2c bus 2 of the BBB board to the client via TCP socket. For reference, I used the Assignment-5 code. Initially, the server listens on the specified port for any incoming client connections. After connecting to the client, the temperature readings shall be sent to the client only if valid commands are received on the server (BBB) end. The client has both the option to retrieve values in Celsius or Fahrenheit. The server displays values in both units but only sends the required reading units.