I tried changing it manually,
if chirp.state == CHIRP_SDK_STATE_RUNNING {
chirp.state = CHIRP_SDK_STATE_STOPPED
}
but the error reads it is a get only property.
You cannot set the state of the ChirpSDK. To stop the SDK you need to call the stop
method. Then the state will change to CHIRP_SDK_STATE_STOPPED
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.