Can hm10 ble communicate with hm12?

I have a bt relay switch which uses a hm12 ble module. I want to know if its possible to connect to an arduino uno with a hm10 ble module?