Below is a code to receive data from a Bluno Beetle BLE:
/* Data received */
else if ([characteristic.UUID isEqual:[CBUUID UUIDWithString:BLECharacteristic]]){
NSString *data = [[NSString alloc] initWithData:characteristic.value encoding:NSUTF8StringEncoding];
NSLog(@"Received Data = %@", data);
[_receiveText setText:data];
}
However, if I want to display multiple data values, is there a way for me to split the received text/data?
For example I want to display a number and a text, and the Arduino sends over a string. New to coding, so your help and patience will be appreciated!