I'm afraid we'd need more information... Have you checked with NRF Connect to ensure that the ESP32 is actually advertising the right stuff?
If so, NRF.findDevices/requestDevice/setScan should all return an object that contains the BLE advertising data from a BLE device - things like service data should be decoded automatically - check the reference: http://www.espruino.com/Reference#l_NRF_findDevices
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm afraid we'd need more information... Have you checked with
NRF Connect
to ensure that the ESP32 is actually advertising the right stuff?If so,
NRF.findDevices/requestDevice/setScan
should all return an object that contains the BLE advertising data from a BLE device - things like service data should be decoded automatically - check the reference: http://www.espruino.com/Reference#l_NRF_findDevices