ios - Can Two Apps Running Simultaneously On The Same iDevice Communicate through Bluetooth? -


question title describes.

i have 2 apps, 1 cbperipheraldelegate , 1 cbcentralmanagerdelegate. peripheral advertises when in foreground (i think, have no other btle devices test it), if run central app in foreground on phone , peripheral in background, neither seems see other.

i have enabled uibackgroundmodes:bluetooth-peripheral in peripherals info.plist per documentation corebluetooth background execution.

i've found few people trying advertise in background on here, none app on same device.

let's sake of question code works perfectly... can bluetooth signal 'looped' same iphone?

in short, no cannot.

although 2 different apps may advertising , searching own services, @ end of day still accessing same chipset. apple masks away gritty details streamline bluetooth dev.

browse around following link, if want break of more underlying details involving bluetooth core system architecture


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -