dotintent / react-native-ble-plx

React Native BLE library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› JSON value '( 65, 84, 90, 13 )' of type NSMutableArray cannot be converted to NSString

rakshitbharat opened this issue Β· comments

Prerequisites

  • I checked the documentation and FAQ without finding a solution
  • I checked to make sure that this issue has not already been filed

Expected Behavior

I am getting this error

JSON value '(
    65,
    84,
    90,
    13
)' of type NSMutableArray cannot be converted to NSString

Current Behavior

getting with notifiaction

Library version

latest

Device

iPhone 15 Pro

Environment info

react native

Steps to reproduce

simple when listining to ios

Formatted code sample or link to a repository

this.connectedDevice.monitorCharacteristicForService(
      serviceUUID,
      characteristicUUID,
      d => {
        console.log(d);
      },
    );

Relevant log output

JSON value '(
    65,
    84,
    90,
    13
)' of type NSMutableArray cannot be converted to NSString

Additional information

No response

Could you tell what device was connected? What data was transferred? What service was observed and what characteristics?

Hi @rakshitbharat
Do you still need help with the issue?

Closing due to inactivity