# invalid conversion from 'const byte* {aka const unsigned char*}' to 'const char*

i've been working with en arduino 101 and with the curieBLE on it so... finnally finish my software to upload it to the boar and by the time i verify it apears the exit status in the title, here´s my code (it is not complete because its really long and the exit status i already know that its related to the declaration so it includes the declaration of both variables that produces the error)

BLEService IDfromModule("7e12cf15-51b9-4d0f-b232-c91ed3713829");
BLEService DeclaringPins("bd151392-0867-4f94-a0f9-7361ce55cff5");
BLEService PinData("1a450558-2d15-43b3-80ed-4d9fc1341966");

BLEIntCharacteristic Speed("5db9276c-44e6-11e7-a919-92ebcb67fe33", BLEWrite);//pwm for the front\back motor
BLEIntCharacteristic Angle("5db92c12-44e6-11e7-a919-92ebcb67fe33", BLEWrite);//pwm for the rigth\left motor
BLEIntCharacteristic AngleDirection("5db92d48-44e6-11e7-a919-92ebcb67fe33", BLEWrite);//digital signal for the front\back motor
BLEIntCharacteristic SpeedDirection("5db92e38-44e6-11e7-a919-92ebcb67fe33", BLEWrite);//digital signal for the rigth\left motor

BLECharacteristic OutputPins("5db92f14-44e6-11e7-a919-92ebcb67fe33", BLEWrite,10);
BLECharacteristic InputPins("5db92ff0-44e6-11e7-a919-92ebcb67fe33", BLEWrite,10);

const int SpeedControl = 6;//it has the pwm function wich you can use to control the velocity of the car
const int Angles = 5;//this will also work for direccion in order to give you diferent angles
const int DirectionSpeed = 12;//connected this digital output can work to change the direction of the motors that give the speed
const int DirectionAngle = 11;//and this one works the same way for the direccion
const int IDsender = 13;//this pin will turn on to get the id to after load it to the id characteristic
String Outputs;
String Inputs;

void setup() {
pinMode(IDsender, OUTPUT);
pinMode(SpeedControl, OUTPUT);
pinMode(Angles, OUTPUT);
pinMode(DirectionSpeed, OUTPUT);
pinMode(DirectionAngle, OUTPUT);

BLE.begin();

BLE.setLocalName("PROYECT Racoon");

ID.setValue(0);

Speed.setValue(0);
SpeedDirection.setValue(0);
Angle.setValue(0);
AngleDirection.setValue(0);

OutputPins.setValue(0);//the data has to be like "1XXXXXXXXX"
InputPins.setValue(0);//The same mask for this data

Pin0.setValue(0);
Pin1.setValue(0);
Pin2.setValue(0);
Pin4.setValue(0);
Pin7.setValue(0);
Pin8.setValue(0);
Pin10.setValue(0);
Pin3.setValue(0);
Pin9.setValue(0);
AnalogPin0.setValue(0);
AnalogPin1.setValue(0);
AnalogPin2.setValue(0);
AnalogPin3.setValue(0);
AnalogPin4.setValue(0);
AnalogPin5.setValue(0);

}

void loop() {
// put your main code here, to run repeatedly:
BLEDevice central=BLE.central();
if (central){
while(central.connected()){
if (identifyModule()){
delay(2000);
declare();
}
UpdateWritings(Outputs);
Movement();
}
set();
}
}

void declare(){
Outputs=OutputPins.value();
Inputs=InputPins.value();//here's where im having the exit status and im pretty sure that in the line above will give me the same thing
CheckPin(Outputs,true);
CheckPin(Inputs,false);
}


SO, where im messing it up?, and another thing a little bit out of the topic could someone can tell me how its codified the BLEintCharacteristic? because i dont know how to read it from a phone

and the exit status i already know that its related to the declaration

"One of the declarations" you mean. Which one?

That is NOT the complete error message. If you have posted the COMPLETE error message, you'd have gotten the complete answer in one shot.

Hint: You need to use a cast.