开发者

How to communicated with android ril daemon directly

开发者 https://www.devze.com 2023-01-23 16:27 出处:网络
I want to communicate with android RIL daemon with my daemon directly. Could you tell me how to do it without using telephony layer.

I want to communicate with android RIL daemon with my daemon directly.

Could you tell me how to do it without using telephony layer.

Bes开发者_运维问答t regards.


First of all you shouldn't! Let the Android framework handle ril, or you may put the daemon in some undefined state.

With that disclaimer, you need to look into

./frameworks/base/telephony/java/com/android/internal/telephony/gsm 
./frameworks/base/telephony/java/android/telephony/gsm

For specifics. The actual commands are be passed through the rild socket, so you will also need to run as root or belong to the radio group to get access.

0

精彩评论

暂无评论...
验证码 换一张
取 消