how i can send voice from PC to osmocom-bb, and recv traffic voice from osmocom-bb to PC
shrek wu
wsmd78 at gmail.com
Sun Dec 8 14:30:09 CET 2013
hello everybody
I want to use LCR send voice from PC to osmocom-bb, and recv traffic
voice from osmocom-bb to PC.
So at osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c
int gsm48_rr_init(struct osmocom_ms *ms)
I change
>From : rr->audio_mode = AUDIO_TX_MICROPHONE | AUDIO_RX_SPEAKER;
TO: rr->audio_mode = AUDIO_TX_TRAFFIC_REQ | AUDIO_RX_TRAFFIC_IND;
And add some printf at voice.c
when run bb, i used one c118, I can see that the voice data from L2/L3
to L1, and got some data from L1(the first char is 0xd) at l1ctr.c
l1ctr_traffic_ind.
All seem ok, but the called phone can not hear any data that LCR send,
and the LCR also can not get any useful data.
Especially I still can hear voice form C118 speaker that the called
phone send,
and the called phone can hear that the voice data the C118 michone send.
But I already changed the audio mode in gsm48_rr.c at gsm48_rr_init.
please give me some advice.
best regards
shrek
More information about the baseband-devel
mailing list