File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
ShimmerBLE/BLE.Client/BLE.Client/ViewModels Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -2798,18 +2798,20 @@ protected async void Disconnect()
27982798 }
27992799 protected async void ReadStatus ( )
28002800 {
2801- VerisenseBLEDevice . ExecuteRequest ( RequestType . ReadStatus ) ;
2801+ var result = await VerisenseBLEDevice . ExecuteRequest ( RequestType . ReadStatus ) ;
2802+ Debug . WriteLine ( BitConverter . ToString ( ( ( StatusPayload ) result ) . GetPayloadWithHeader ( ) ) . Replace ( "-" , ",0x" ) ) ;
28022803 }
28032804
28042805 protected async void ReadProdConf ( )
28052806 {
2806- VerisenseBLEDevice . ExecuteRequest ( RequestType . ReadProductionConfig ) ;
2807+ var result = await VerisenseBLEDevice . ExecuteRequest ( RequestType . ReadProductionConfig ) ;
2808+ Debug . WriteLine ( BitConverter . ToString ( ( ( ProdConfigPayload ) result ) . GetPayloadWithHeader ( ) ) . Replace ( "-" , ",0x" ) ) ;
28072809 }
28082810
28092811 protected async void ReadOpConf ( )
28102812 {
28112813 var result = await VerisenseBLEDevice . ExecuteRequest ( RequestType . ReadOperationalConfig ) ;
2812- Debug . WriteLine ( BitConverter . ToString ( ( ( OpConfigPayload ) result ) . ConfigurationBytes ) . Replace ( "-" , ",0x" ) ) ;
2814+ Debug . WriteLine ( BitConverter . ToString ( ( ( OpConfigPayload ) result ) . GetPayloadWithHeader ( ) ) . Replace ( "-" , ",0x" ) ) ;
28132815 }
28142816
28152817 protected Boolean TryingToReconnect = false ;
You can’t perform that action at this time.
0 commit comments