Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
working on iot device status change message sender (is that a word?)
Browse files Browse the repository at this point in the history
  • Loading branch information
fulton committed Dec 30, 2019
1 parent fc6e8e6 commit 39fe848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/andromeda/araserver/iot/SendData.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class SendData {
private val protocol = IotHubServiceClientProtocol.AMQPS

fun main(deviceId:String, message: String){
val connectionString = "UxEGJfoC9IRnpeonMxDxo7A41ZT21+Z45+4CCeIeto0="
val connectionString = "HostName=Ara-iot.azure-devices.net;SharedAccessKeyName=service;SharedAccessKey=oEfZ4s62hqhqkKaJtTlQ5+KJK7rbnCMB6Xu7wxqeY4I="
val serviceClient = ServiceClient.createFromConnectionString(
connectionString, protocol
)
Expand Down

0 comments on commit 39fe848

Please sign in to comment.