You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to work on a native react application for work, but it's not exactly my field, I'm basically an engineer and not a developer, I try to follow the documentation but I'm having a little trouble.
This is my code :
import { Button } from "react-native";
import BleManager from "react-native-ble-manager";
Start, connect, retrieveservices is functionnal but i can't read data from my arduino ( HM-10 bluetooth module )
When i log the data of read, it return me the mac adresse in hexa of my HM-10 module.
Someone can help me please ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I have to work on a native react application for work, but it's not exactly my field, I'm basically an engineer and not a developer, I try to follow the documentation but I'm having a little trouble.
This is my code :
import { Button } from "react-native";
import BleManager from "react-native-ble-manager";
const FetchData = () => {
const action = () => {
BleManager.start({showAlert : true}).then(() => {console.log('Blemanager Start')});
}
return(
<Button title={"show"} onPress={action} />
)
}
export default FetchData
Start, connect, retrieveservices is functionnal but i can't read data from my arduino ( HM-10 bluetooth module )
When i log the data of read, it return me the mac adresse in hexa of my HM-10 module.
Someone can help me please ?
Beta Was this translation helpful? Give feedback.
All reactions