@VLud thanks, I confirm that now, the bsi does sleep, and the steering wheel keys work, but in my sketch I had included this part
long time1 = 0;
long time2 = 0;
bool push = true;
} else if (id == 162 && noFMUX) {
tiempo1 = millis();
if (tiempo1 > tiempo2 + 200) { //Aquí controlas el tiempo en milisegundos (actualmente 1seg)
pulsar = true;
}
if (canMsgRcv.data[1] == 0x08) { // MENU on C5 steering wheel commands
canMsgSnd.data[0] = 0x80; // MENU button
canMsgSnd.data[1] = 0x00;
canMsgSnd.data[2] = 0x00;
canMsgSnd.data[3] = 0x00;
canMsgSnd.data[4] = 0x00;
canMsgSnd.data[5] = 0x02;
canMsgSnd.data[6] = 0x00; // Volume potentiometer button
canMsgSnd.data[7] = 0x00;
} else if (canMsgRcv.data[1] == 0x04 && pulsar) { // Wimdshield button
canMsgSnd.data[0] = 0x00; // SRC funtion fuente
canMsgSnd.data[1] = 0x00;
canMsgSnd.data[2] = 0x00;
canMsgSnd.data[3] = 0x00;
canMsgSnd.data[4] = 0x00;
canMsgSnd.data[5] = 0x02;
canMsgSnd.data[6] = 0x00; // Volume potentiometer button
canMsgSnd.data[7] = 0x00;
pulsar = false;
tiempo2 = millis();
without that there is no adequate control of change of usb-radio sources, it makes abrupt and indeterminate changes.
It's possible ?
meanwhile I will include them in my personal versions, but I would like that any colleague who obtains it from his sketch does not have the problem.
I am going to use steeringWheelCommands_Type = 3
Thank you very much for your improvements. The sketch has improved a lot from a year ago to today.
https://drive.google.com/file/d/1xTIagwE6UQCQAe_zbba2wEKhHIYEvTUy/view?usp=sharing