Problem in receiving the data from Bluetooth module

index[17]: D
index[39]: D

Clearly, you did NOT set EOP to 'D' correctly.