Turn on buildinLed of XIAO SENSE with unity and arduino code

Hi community, im tried to connect xiao sense to unity with the same scripts i use for my arduino, but for some reason unity cant send data to the xiao sense ble, how can i do this connection?